603b5ad985e2d952891be880699e8e8973f9007d,server/src/org/apache/cloudstack/region/RegionManagerImpl.java,RegionManagerImpl,enableAccount,#String#number#number#,336

Before Change


        } else {
            //First disable account in the Region where account is created
            Region region = _regionDao.findById(regionId);
            Account retAccount = RegionsApiUtil.makeAccountAPICall(region, command, params);
            if (retAccount != null) {
                s_logger.debug("Successfully enabled account :"+accountUUID+" in source Region: "+region.getId());
                return retAccount;
            } else {

After Change


        } else {
            //First disable account in the Region where account is created
            Region region = _regionDao.findById(regionId);
            if (RegionsApiUtil.makeAPICall(region, command, params)) {
                s_logger.debug("Successfully enabled account :"+accountUUID+" in source Region: "+region.getId());
                return account;
            } else {